Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PHP 8.4 compatibility #551

Merged
merged 7 commits into from
Oct 17, 2024
Merged

Conversation

swissspidy
Copy link
Contributor

PHP 8.4 is slated to be released on November 21, 2024.

In the process of making the Web Stories plugin compatible, this addresses warnings about implicit nullable types.

PHP requirement is increased to 7.4 to make maintenance easier.

Fixes #549

@swissspidy
Copy link
Contributor Author

Alright, this should now be all. No more deprecation warnings when running tests against 8.4.

The PHPStan failures are unrelated and out of scope for this PR.

@westonruter Appreciate a review & then a new tagged release so the amp-wp repo can be updated too.

@westonruter westonruter merged commit b206168 into ampproject:main Oct 17, 2024
10 of 12 checks passed
@westonruter westonruter added this to the 0.12 milestone Oct 17, 2024
@swissspidy swissspidy deleted the fix/549-php84 branch October 17, 2024 15:08
@westonruter
Copy link
Member

@swissspidy Here you go: https://github.com/ampproject/amp-toolbox-php/releases/tag/0.11.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 8.4 Compatibility
2 participants